package com.macro.mall.dto.admin;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.macro.mall.common.domain.PageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * Created by @author dabaoqiang on 2024/5/19.
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AdminUnClockListDTO extends PageDTO {

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date endTime;

    @ApiModelProperty(value = "开始日期")
    private Long startTimeDateNo;

    @ApiModelProperty(value = "开始日期")
    private Long endTimeDateNo;

    @ApiModelProperty(value = "用户名称")
    private String name;

    @ApiModelProperty(value = "打卡类型 1->打卡,2->请假,3->未打卡")
    private Integer type;


}
